package com.esiag.isidis.fi.pdsteam.entity;

import java.util.ArrayList;
import java.util.List;

public class TramConfig {

	private List<Info> listInfo = new ArrayList<Info>();

	public TramConfig() {

	}

	public List<Info> getListInfo() {
		return listInfo;
	}

	public void setListInfo(List<Info> listInfo) {
		this.listInfo = listInfo;
	}

	public Info getDataInfo(String libelle) {
		for (Info info : listInfo) {
			if (libelle.equals(info.getLibelle()))
				return info;
		}
		return null;
	}

}
